<div>
    <div class="word-count" id="word-count"></div>
    <ckeditor [editor]="Editor" [config]="config" (ready)="onReady($event)"></ckeditor>
</div>
<button mat-raised-button color="primary" (click)="exportPdf()">导出PDF</button>
<button mat-raised-button color="primary" (click)="getData()">获取值</button>
<button mat-raised-button color="primary" (click)="setDate()">设置值</button>
<div>
    {{result}}
</div>